/*Copyright (c) 2020 Orca Data Technology(Xi'an)CO.LTD. All rights reserved. * Create by Jisr on 2022/3/4 2:57 PM*/
const useProjectList = (fn: Function = () => {}) => {
    return window.db.onPull('project').then((res: ProjectDir[]) => {
        fn(res);
    });
};
export default useProjectList;
